﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WebPic.Sample.Comum;
using WebPic.Sample.Modelo.Entidades;

namespace WebPic.Sample.Modelo.Specifications {
    public static class VendedorSpecifications {
        
        public static Specification<Vendedor> NomeComecaCom(string nome) {

            return new Specification<Vendedor>(v => v.Nome.StartsWith(nome));
        }

    }
}
